package com.hdoit.kylin.web.groupActivity.modelconfig;

import com.hdoit.kylin.web.baseInfo.providers.TermProvider;
import com.hdoit.kylin.web.groupActivity.provider.GroupStudentProvider;
import com.hdoit.kylin.web.studentManager.providers.TeacherOwnProvider;
import com.hdoit.kylin.web.user.modelconfig.StudentConfig;
import com.hdoit.kylin.web.user.provider.StudentProvider;
import com.tennetcn.component.attribute.DateTimeAttribute;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      lufu
 * @email       
 * @createtime  2017年08月03日 10:48:04
 * @comment
 */
public class ScheduleSearchConfig extends ModelMetadataAttributeConfiguration{
    public ScheduleSearchConfig(){
        this.setProperty("termId")
            .hasAttribute(new DisplayNameAttribute("学期"))
            .hasAttribute(new DropDownListAttribute(new TermProvider()));
        
        this.setProperty("employeeId")
        	.hasAttribute(new DisplayNameAttribute("姓名"))
        	.hasAttribute(new DropDownListAttribute(new GroupStudentProvider()));
       
    }
}